<template>
	<div class="goods-detail full-height" v-if="data.goods">
		<div v-html="data.goods.description" class="mt15 mb15 container bg-white description"></div>
	</div>
</template>

<script>
	export default{
		data()
		{
			return{
				view : 0,
				data : null,

			}
		},
		created()
		{
			this.loadData();
		},
		methods:
		{
			loadData()
			{
				this.$http.get('/goods/goods',{ params : { crow_id : this.$route.query.crow_id }}).then(res =>{
					this.data = res.data;
				})
			}
		}
	}
</script>

<style lang="less">
	body,html{
		height: 100%;
		width: 100%;
	}
	.goods-detail{
		.description{
			width: 100%;
		}
	}
</style>